脚本(Scripting)API 参考(API Reference)gpuColorAttachment本页总览ColorAttachment用于 beginRenderPass 的颜色附件描述符。 字段 view 显式渲染目标视图;默认为画布后备纹理。 resolveTarget 用于 MSAA 的 1x 解析目标(格式必须匹配)。 loadOp storeOp 必需;MSAA 解析后为 'discard',否则为 'store'。 clearColor